.el-dialog{
    margin-top: 0 !important;
    top: 50%;
    transform: translateY(-50%);
    min-width: 500px;
}
    
.el-dialog__body{
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto;
}

.el-popover{
    max-width: 500px;
    margin-top: 10vh !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto;
}